Vcenter Compute Policies Capabilities VmHostAffinity CreateSpec

Vcenter Compute Policies Capabilities VmHostAffinity CreateSpec
Vcenter Compute Policies Capabilities VmHostAffinity CreateSpec

The Vcenter Compute Policies Capabilities VmHostAffinity CreateSpec schema contains information used to create a new virtual machine to host affinity policy, see POST /vcenter/compute/policies. Virtual machines that have the tag indicated by Vcenter Compute Policies Capabilities VmHostAffinity CreateSpec.vm_tag will be affine to hosts that have the tag indicated by Vcenter Compute Policies Capabilities VmHostAffinity CreateSpec.host_tag in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not supported.

Warning: this schema is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

AllOf
This class requires all of the following:
JSON Example
{
    "capability": "string",
    "name": "string",
    "description": "string",
    "vm_tag": "string",
    "host_tag": "string"
}
string
vm_tag
Required

Identifier of a tag that can be associated with a virtual machine. Virtual machines with this tag will be affine to the hosts indicated by Vcenter Compute Policies Capabilities VmHostAffinity CreateSpec.host_tag.

Warning: this property is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.cis.tagging.Tag:VirtualMachine. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.cis.tagging.Tag:VirtualMachine.

string
host_tag
Required

Identifier of a tag that can be associated with a host. Virtual machines indicated by Vcenter Compute Policies Capabilities VmHostAffinity CreateSpec.vm_tag will be affine to hosts with this tag.

Warning: this property is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.cis.tagging.Tag:HostSystem. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.cis.tagging.Tag:HostSystem.